﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Infrastructures;

namespace ConcreteService
{
    internal class ContractTemplateUtil
    {
        internal static ContractTemplateManager CreateInstance()
        {
            string version = SystemConfig.Get("CurrentContractVersion");

            return FactoryCreator.Create(version) as ContractTemplateManager;
        }

        internal static ContractTemplateManager CreateInstance(string version)
        {
            return FactoryCreator.Create(version) as ContractTemplateManager;
        }
    }
}
